(6004) 1988 XY1 is a main-belt minor planet. It was discovered by Seiji Ueda and Hiroshi Kaneda in Kushiro, Hokkaidō, Japan, on December 11, 1988.